<template>
    <div>
        <div class="Headtop">
            <i class="iconfont icon-fanhui fanhui" @click="goback"></i>
            <span>{{title}}</span>
        </div>
    </div>
</template>

<script>
export default {
    props:['title'],
    methods: {
        goback(){
           this.$router.back(); 
        }
    },
}
</script>

<style lang="less" scoped>
.Headtop{
    width: 100%;
    height: 1rem;
    line-height: 1rem;
    background: #333;
    position: relative;
    text-align: center;
    font-size: 0.40rem;
    color: #fff;
    .fanhui{
        font-size:0.48rem;
        position: absolute;
        top: 0.1rem;
        left: 0.5rem;
    }
}
</style>